home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / setevent.zip / SETEVENT.DOC < prev    next >
Text File  |  1993-05-15  |  2KB  |  57 lines

  1.  +--------------------------[ SETEVENT Ver 1.00]-----------------------------+
  2.  |  Written By Gary Meeker 05/15/93                        Updated   /  /    |
  3.  |  SYSOP: SHARP Technical Support Line BBS               Lawrenceville, GA  |
  4.  |         (404) 962-1788                          300-14400 Baud. 24 Hours  |
  5.  +---------------------------------------------------------------------------+
  6.  V1.00 05/15/93 - Initial Release
  7.  
  8. The purpose of SetEvent is to allow changing Event data without running
  9. PCBSETUP. It is command line driven and allows a batch file to change the
  10. event data easily. Now you can easily disable an event from DOS.
  11.  
  12. Syntax: SetEvent Event [/A:x] [/M:x] [/F:x] [/B:x] [/E:x] [/W:x] [/D:x] [/R:n]
  13.  
  14. Where:     Event = Event to change
  15.  
  16. [/A:x] = Active, N=No, Y=Yes
  17. [/M:x] = Mode, E=Expedite, S=Sliding
  18. [/F:x] = Batch Filename
  19. [/B:hh:mm] = Begin Time
  20. [/E:hh:mm] = End Time
  21. [/W:smtwtfs] = WeekDays to run on (place Y to run, N to not run in each day)
  22. [/D:mm-dd-yy] = Date (if mm-dd-yy is blank, field is erased)
  23. [/R:n] = Reset Last Date for Node n  (if n is 'A' then all nodes are reset)
  24.  
  25. Example:
  26.  
  27. SetEvent 4 /A:N          'This would disable event 4
  28. SetEvent 4 /A:Y          'This would enable event 4
  29. SetEvent 1 /R:2          'This would reset Node 2 Last Run Date for event 1
  30. SetEvent 1 /R:A          'This would reset ALL Nodes Last Run Date for event 1
  31.  
  32. SetEvent 5 /A:Y /M:E /F:TESTTHIS /B:04:00 /E:05:00 /W:NYYYYYN /D: /R:A
  33.  
  34. This would create an entire event as follows:
  35.  
  36.                  Batch     Begin End                       Last Run
  37.        Act  Mod  File      Time  Time   SMTWTFS  Date      ALL Nodes
  38.        ═══  ═══  ════════  ═════ ═════  ═══════  ════════  ════════
  39.   5)    Y    E   TESTTHIS  04:00-05:00  NYYYYYN            00-00-00
  40.  
  41.  
  42. SetEvent 5 /A:N /M: /F: /B: /E: /W: /D: /R:A
  43.  
  44. This would erase an entire event as follows:
  45.  
  46.                  Batch     Begin End                       Last Run
  47.        Act  Mod  File      Time  Time   SMTWTFS  Date      ALL Nodes
  48.        ═══  ═══  ════════  ═════ ═════  ═══════  ════════  ════════
  49.   5)    N                       -       NNNNNNN            00-00-00
  50.  
  51. Although NOTE: This will not delete the event and will leave a blank spot
  52.                in the file which may or may not cause a problem.
  53.  
  54.  
  55. This is FREEWARE (but feel FREE to send money).  Please direct any comments
  56. to my BBS or leave me a message on SaltAir in the utilities conference.
  57.